package com.ruoyi.gather.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "remoteCollectProductCategoryService", value = ServiceNameConstants.GATHER_SERVICE)
public interface RemoteCollectProductCategoryService {

    /**
     * 根据类目名称，模糊查询类目ID集合
     */
    @GetMapping("/gather/collectProductCategory/getCategoryIdListByCategoryName/{categoryName}")
    R<Object> getCategoryIdListByCategoryName(@PathVariable("categoryName") String categoryName);

}
